package guoanmaker.operator.business.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import guoanmaker.operator.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 
* @ClassName: OperatorUserDeviceInfo.java 
* @Description: 评价controller
* @author Cancerl
* @date 2018年5月11日
*  
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "t_operator_toutiao_user_device_info")
public class OperatorUserDeviceInfo extends IdEntity{
    private String adid;            // 广告计划id
    private String cid;             // 广告创意id
    private String os;             // 客户端类型,0-Android,1-IOS,2-WP,3-Others
    private String idfa;            // ios唯一标识
    private String imei;            // 安卓唯一标识
    private String androidid;       // 安卓唯一标识
    private String mac;
    private String ip;   
    private String callback;        //回调参数
    private String timestamp;       //时间戳
    private String convertid;       //转化跟踪id
    //主键、创建时间、更新时间等字段不一一列举了，可根据业务需要进行拓展字段
    private Integer count;			//设备激活次数
    private String phone;			//设备注册手机号
    private Integer iscommit;		//是否反馈给头条		//0 没有上报   1已经上报
    private Integer sourcetype;		//数据来源  	//0  app软件来源	1 头条反馈
    
    private Date createtime;
    private Date validatetime;
    
    public String getIdfa(){
    	return this.idfa.trim();
    }
    
    public String getImei(){
    	return this.imei.trim();
    }
    
    public String getAndroid(){
    	return this.androidid.trim();
    }
    
    public String getMac(){
    	return this.mac.trim();
    }
}